import axios from "../config.js";


export const login = data => {
  return axios({
    url: "/demo/user/login",
    method: "get",
    params: data
  });
};

export const changePassword = data => {
  return axios({
    url: "/demo/user/updatePassword",
    method: "get",
    params: data
  });
};

export const pass = data => {
  return axios({
    url: "/demo/record/pass",
    method: "get",
    params: data
  });
};
